export default {
    filterList: state => state.list.filter(item => item > 5),
    // list(state) {
    //  return   state.list.filter(item => {
    //     if (item > 5) {
    //       return true;
    //     }
    //   });
    // }
    token: state => state.user.token,
    name: state => state.setting.name
}